/*
 * @Author: yangzonglong
 * @Date: 2020-09-22 16:10:49
 * @version: v1.0.0
 * @Descripttion: 
 * @LastEditors: yangzonglong
 * @LastEditTime: 2020-09-23 09:41:33
 * @Auditor: 
 */

export interface BatchNumberProps {
  batchNumber: string;
  qty: number;
  validityDate: string
}

export interface StockBatchNumber extends BatchNumberProps {
  id: string
}

export interface IProps {
  visible: boolean;
  onCancel(): void;
  totalNumber: number;
  disabled?: boolean;
  onOk(batchNumbers: BatchNumberProps[]): void;
  stockBatchNumbers?: StockBatchNumber[];
  defaultBatchNumbers?: BatchNumberProps[]; 
}